package freejim.icu.highschoolhealthstatuspost.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DetailInfoRepository extends JpaRepository<DetailInfo,Long> {

    @Query(value = "select * from userinfo where infoid = ?1",nativeQuery = true)
    DetailInfo getDetailInfoById(long id);

}
